package com.example.service.impl;

import java.util.List;

import com.example.dao.PatientRegisterDao;
import com.example.entity.PatientRegister;
import com.example.service.PatientRegisterService;

public class PatientRegisterServiceImpl implements PatientRegisterService {
	private PatientRegisterDao prd = new PatientRegisterDao();

	@Override
	public void addPatientRegister(PatientRegister patientRegister) {
		prd.addPatientRegister(patientRegister);
	}

	@Override
	public List<PatientRegister> findAllPatientRegister(PatientRegister patientRegister) {
		return prd.findAllPatientRegister(patientRegister);
	}

	@Override
	public void dialogue(long prNumber) {
		// TODO Auto-generated method stub
		prd.dialogue(prNumber);
	}
	
	

}
